import request from "./index.js"

export function login(username,password) {
  return request({
    method:'post',
    url: '/login',
    data: {
      username,
      password
    }
  })
}
